TTHQ\WPSC\Lib\PayPal\PayPal_Utility_Functions A

Total Complexity 52
Dependencies 4
Dependents 13
Total lines 645
Lines of code 474
Logical lines of code 145
Comment lines 114
Methods 25
Properties 0

Methods 25

Method Rating Maintainability Complexity Lines of code
get_country_name_by_country_code()
A
23
3 225
create_purchase_units_items_list()
S
52 5 24
create_billing_plan_for_button()
S
47 4 37
has_plan_details_changed_for_button()
S
55 3 20
parse_custom_var()
S
57 3 16
hook()
S
61 3 13
auto_prefix()
S
65 3 9
check_billing_plan_exists()
S
62 2 11
get_api_environment_mode_from_settings()
S
64 2 10
log()
S
68 2 7
get_signup_url_by_environment_mode()
S
70 2 7
get_partner_id_by_environment_mode()
S
70 2 7
get_partner_client_id_by_environment_mode()
S
70 2 7
get_seller_merchant_id_by_environment_mode()
S
64 2 10
log_array()
S
68 2 7
get_api_base_url_by_environment_mode()
S
70 2 7
get_seller_client_id_by_environment_mode()
S
64 2 10
create_subscription_args_from_button()
S
59 1 14
check_current_mode_and_set_notice_if_webhook_not_set()
S
89 1 2
create_product_params_from_button()
S
67 1 8
check_and_create_webhooks_for_this_site()
S
76 1 4
get_option()
S
74 1 4
update_option()
S
74 1 4
delete_option()
S
75 1 4
create_billing_plan_fresh_new()
S
68 1 7